package com.kingmed.kmss.common.constant.bpmn;

public class BpmnConstant {
	
	public static class VarKeys {
		public static String BIZ_TYPE = "businessType";
		public static String BIZ_TYPE_NAME = "businessTypeName";
		public static String BIZ_ID = "businessId";
		public static String COMMENT = "comment";
		public static String BIZ_KEY = "businessKey";
		public static String APPROVED = "approved";
		public static String PARENT_ORG_ID = "parentOrgId";
		public static String ORG_TYPE = "orgType"; // 1=子公司， 2=大区， 3=集团
		public static String BIZ_TITLE = "bizTitle"; 
		public static String USER_NAME = "userName"; 
		public static String ORG_NAME = "orgName"; 
		public static String CATEGORY = "category"; 
		public static String CATEGORY_NAME = "categoryName";
		public static String SUBMIT_TIME = "submitTime";
		public static String JSON_DATA = "jsonData";
		public static String PROCESS_TYPE = "processType";

		//// 用于营销活动部分的特殊定义
		public static String IS_DISEASE_LINE = "isDiseaseLine"; 
		public static String DISEASE_LINE = "diseaseLine";

		//// 是否计划内专家，用于专家合作申请审批分流
		public static String IS_PLANNED_EXPERT = "isPlannedExpert";
		//// 下一审批人，具体到个人，用于专家合作申请
		public static String NEXT_APPROVER_SINGLE = "nextApproverSingle";

		//// 用于投标审批部分的特殊定义
		public static String BID_DOC_REQUIRED = "docRequired"; // 借资质
		public static String BID_BID_SUBJECT = "bidSubject"; // 投标主体
		public static String BID_BIZ_MODE = "bizMode"; // 业务模式
		public static String BID_DEDUCTION_RATE = "deductionRate"; // 扣率

		//// 用于标书审批部分的特殊定义
		public static String BID_OPP_SALES_GRID_MANAGER = "salesGridManager"; // 商机关联的销售小区区域经理
		public static String BIZ_DEPT_MANAGER = "bizDeptManager"; // 业务部门负责人
		
		//// 用于合同审批部分的特殊定义

		public static String CONTRACT_NUM = "contractNum"; // 合同编号
		public static String SALES_GRID_ID = "salesGridId"; // 合同关联的【业务归属小区】

		public static String CONTRACT_RENEWAL_COUNT = "renewalCount"; // 续签次数
		public static String CONTRACT_END_DATE = "contractEndDate"; // 合同结束时间

		public static String SALES_AREA_MANAGER = "salesAreaManager"; // 合同关联的【业务归属小区】关联的【区域经理】
		public static String SALES_AREA_DEPT_MANAGER = "salesGridDeptManager"; // 合同关联的【业务归属小区】关联的【业务部门负责人】
		public static String CONTRACT_IS_MODIFY_DISCOUNT = "isModifyDiscount"; // 是否修改了扣率
		public static String CONTRACT_FIRST_LEVEL_DISCOUNT = "firstLevelDiscount"; // 一级扣率
		public static String CONTRACT_SECOND_LEVEL_DISCOUNT = "secondLevelDiscount"; // 二级扣率
		public static String CONTRACT_IS_NEED_ASSISTANT_APPROVAL = "assistantApproval"; // 是否需要部门业务助理审批

		//// 用于特殊结算-合并开票审批部分的特殊定义
		public static String MAIN_CONTRACT_DEPT_MANAGER = "contractDeptManager"; // 主合同关联的【业务归属小区】对应的【业务部门负责人】

		//// 用于促销合同审批部分的特殊定义
		public static String CROSS_BIZ_AREA = "crossBizArea"; // 跨销售区域
		public static String CROSS_BIZ_DEPT = "crossBizDept"; // 跨业务部门
		public static String DISCOUNT = "discount"; // 最低折扣
		public static String PTM_SALES_AREA_MANAGER = "salesAreaManager"; // 销售小区关联区域经理
		public static String PTM_BIZ_DEPT_MANAGER = "bizDeptManager"; // 销售小区关联业务部门负责人

	}
	
	public static class ApprovalResult {
		public static String APPROVED = "审批通过";
		public static String REJECTED = "审批驳回";
		public static String SUBMIT = "提交申请";
	
	}
	
	public static class DictCode {
		// # 营销活动
		// 疾病线-经理审批者角色对应表
		public static String MKT_ACTIVITY_PROCESS_DISEASE_APPROVER = "mkt_activity_process_disease_approver"; 
		
		// 疾病线-总监审批角色对应表
		public static String MKT_ACTIVITY_PROCESS_DISEASE_SUPERVISOR = "mkt_activity_process_disease_supervisor"; 
	}

	public static final class userGroup {
		//流程发起人标识ID
		public static final String PROC_INITIATOR = "proc_initiator";
		//营销管理岗位
		public static final String MKT_MANAGE_POSTION = "marketing_manager_postion";
		// 专家合作申请-专家对接人
		public static final String ERM_EXPERT_MAINTAINER = "expert_maintainer";
		// 专家合作申请-活动创建人
		public static final String ERM_ACTIVITY_CREATER = "activity_creater";
		// 合同-集团资料管理员
		public static final String CTM_GROUP_DOC_MANAGER = "group_doc_manager";
	}
	
	//// 提交申请操作描述
	public static String PROCESS_REQUEST_DESC = "提交申请";

}
